import React, { Component } from 'react'; 
import axios from 'axios';
import urls from '@/common/urls.js';
//console.log(urls);

export default class Hello6 extends Component {
	// 总数据
	state = {
		// 新增-弹窗开头
		mag: 'h111'
	}
	async searchList1 () {
		let res = await axios.get(urls.list1);
		console.log(res);
	}
	async searchList2 () {
		let res = await axios.get(urls.list2);
		console.log(res);
	}
	componentDidMount() {
	    this.searchList1();
	    this.searchList2();
	}
	// 渲染函数
    render() {
    	return (
			<div>
				222
			</div>
		);
    }
};
